<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#if site2Content?has_content>
			<#-- Main Content-->
			<table width="100%" border="0">
			  <tr>
			    <th  colspan="2" align='center'><A href='<@spring.url "/liststorecoupon.jsp?ssid=${site2Content.site.sysId}"/>'>店铺[${site2Content.site.name?default("No-Name")}]优惠券</A></th>
			  </tr>
			  <tr>
			    <th  colspan="2" align='right'><hr></th>
			  </tr>
			  
				<tr>
				  <td valign="top">
				  	<TABLE >
		  				<tr><td><b>热门优惠券</b></td></tr>
				  		<#if site2ContentList?has_content>
				  			<#list site2ContentList as s2c>
				  				<tr><td><A href='<@spring.url "/viewstorecoupondetail.jsp?s2csid=${s2c.sysId}&csid=${s2c.content.sysId}&ssid=${s2c.site.sysId}"/>'>${s2c.content.name?default("No-Name")}</A></td></tr>
				  			</#list>
				  		</#if>
				  	</TABLE>			
					</td>
				  <td >
				  	<TABLE >
				  		<tr>
				  			<td align="right">
									<#if userSession?has_content && userSession.logout==false && userSession.managedHordeSysId gt -1>
										<A href='<@spring.url "/addstorecoupon2myhorde.asp?s2csid=${site2Content.sysId}"/>'>推荐至${userSession.managedHordeName?default("无名小区")}</A>
									</#if>
				  			</td>
				  		</tr>
				  	
				  		<tr>
				  			<td>
				  				<IMG src='IMAGES/COUPON/COUPON_LARGE.JPG'>
				  			</td>
				  		</tr>
				  		<tr>
				  			<td>
									${site2Content.content.shortDesc?default("No-Short-Desc")}<br>
													  ${site2Content.content.longDesc?default("No-Long-Desc")}
									
														<#if site2Content.content.startDate?has_content && site2Content.content.endDate?has_content>${site2Content.content.startDate?string("yyyy-MM-dd")} ~ ${site2Content.content.endDate?string("yyyy-MM-dd")}</#if></th>
				  			</td>
				  		</tr>
				  	</TABLE>			
				  </td>
				</tr>
	  	</table>	
			<#-- /Main Content-->
	</#if>
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">